testsuite: Add blur node testcase
authorTimm Bäder <mail@baedert.org>
Tue, 7 May 2019 15:19:00 +0000 (17:19 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 7 May 2019 15:21:16 +0000 (17:21 +0200)
Renderers need to handle blur radius 0 as well. Currently broken in GL
and (I guess, unless it's my driver) Vulkan.

testsuite/gsk/compare/color-blur0.node [new file with mode: 0644]
testsuite/gsk/compare/color-blur0.png [new file with mode: 0644]
testsuite/gsk/meson.build

diff --git a/testsuite/gsk/compare/color-blur0.node b/testsuite/gsk/compare/color-blur0.node
new file mode 100644 (file)
index 0000000..46e7bcb
--- /dev/null
@@ -0,0 +1,7 @@
+blur {
+  blur: 0;
+  child :color {
+    color: red;
+    bounds: 0 0 100 100;
+  }
+}
\ No newline at end of file
diff --git a/testsuite/gsk/compare/color-blur0.png b/testsuite/gsk/compare/color-blur0.png
new file mode 100644 (file)
index 0000000..3c3464b
Binary files /dev/null and b/testsuite/gsk/compare/color-blur0.png differ
index 90eed14aa9cb743282ef238008ce1006bbc30eca..5ed0d2fe1eff04b6e1033d4bd7730f2026a0406b 100644 (file)
@@ -38,6 +38,7 @@ compare_render_tests = [
   'shadow-in-opacity',
   'blend-normal',
   'blend-difference',
+  'color-blur0',
 ]
 
 renderers = [